package ws.tracking.listener;


import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
import ws.tracking.listener.TrackingListener;

@WebService(targetNamespace = "http://listener.tracking.ws/")
public class TrackingListenerImpl implements TrackingListener {
	@Override
	@WebMethod
	@RequestWrapper(className = "ws.tracking.listener.OnDelivery")
	@ResponseWrapper(className = "ws.tracking.listener.OnDeliveryResponse")
	public void onDelivery(int arg0) {
		System.out.println("got notification for id: " + arg0);
		//TODO Try to figure this out 
		
	}
}
